package com.dmai.capacity.platform.oauth.common.mapper;

import com.dmai.capacity.platform.common.model.OauthUserVolumeCharge;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 客户开通按量付费表
 *
 * @author
 * @email
 * @date 2024-03-29 21:14:28
 */
@Mapper
public interface OauthUserVolumeChargeDao {

    int save(OauthUserVolumeCharge oauthUserVolumeCharge);

    int update(OauthUserVolumeCharge oauthUserVolumeCharge);

    int delete(String id);

    OauthUserVolumeCharge findByCapability(@Param("userid") Integer userid, @Param("capabilityId") Integer capabilityId);

}
